<template>
  <div class="qunstate">
    <div class="title">常见问题</div>
    <div class="question" v-for="(item, idx) in faqs" :key="idx">
      <p class="ad">{{ item.q }}</p>
      <p class="aw">{{ item.a }}</p>
    </div>
  </div>
</template>

<script>
export default {
  name: 'GroupFAQ',
  props: {
    faqs: {
      type: Array,
      required: true
    }
  }
}
</script>

<style scoped>
.title {
  font-size: 1.32rem;
  color: #1c1f31;
  margin-top: 0.96rem;
  border-top: 1px solid #f0f0f0;
  padding-top: 1rem;
}
.question .ad {
  color: #425887;
  margin-top: 1rem;
}
.question .aw {
  color: #7e7e7e;
  margin-top: 0.57rem;
}
</style>
